package com.example.sup.constants;

/**
 * @ClassName TaskStateEnum
 * @Description {TODO}
 * @Author 李哲
 * @Date 10:27 2024/8/1
 * @Version 1.0
 */
public enum TaskStateEnum {
    ON(1,"开启"),
    OFF(0,"关闭");
    private Integer code;
    private String desc;
    TaskStateEnum(Integer code,String desc){
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
